﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YouHP.Model
{
   public class MessageInfo : IHydratable
    {
        public int Id {get; set;}
        public string msgfrom { get; set; }
        public int msgfromid {get; set;}
        public string msgto {get; set;}
        public int msgtoid {get; set;}

        public DateTime PostDateTime {get; set;}
        public string message {get; set;}
        public int IsRead { get; set; }             //标志是否查看

        public int ParentId { get; set; }

        public MessageInfo()
        {
            ParentId = msgfromid = msgtoid = IsRead = -1;
            msgfrom = msgto = message = "";
        }

        #region IHydratable 成员
        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }
        #endregion
    }
}
